Repository navigation
Conversation
SiteOxAere reassigned its poros_tiller dummy argument inside the level loop, so in the sat=0 pass unsat_aere_ratio compounded for every unfrozen layer below the water table. Make poros_tiller intent(in) and use a local poros_tiller_eff, restoring the pre-ctsm5.1.dev041 behavior. Fixes ESCOMP#4349 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n pass ch4_tran overwrote grnd_ch4_cond with the snow- and pond-inclusive value at the end of the sat=0 call, and the sat=1 call then added those resistances again. Only write the history value on the sat=1 (last) call. Fixes ESCOMP#4350 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pSASU spin-up results (CH4-001, CH4-002)Follow-up to the quicktest results above. Will also ran this fix through a full cold-start spin-up (AD → SASU → pSASU; case
Below is Claude's summary of the results for this PR.
Overall: No climate signal detected. Found: Aerenchyma CH4 from non-inundated soils more than doubles (20.4 → 44.1 TgCH4/yr), and net CH4 emission rises 10% (181 → 200 TgCH4/yr; quicktest +15.1%). CH4 production barely changes. Ecosystem C differs by +1.99 PgC. The same conclusion as the quicktest: no effect on the land energy or water budget, but a CH4 emission change large enough that the CH4 team should decide whether unsat_aere_ratio or scale_factor_aere need retuning. Regional: The Amazon accounts for 8.31 of the 18.6 TgCH4/yr global increase (45%). The boreal lowlands add 1.9 (West Siberian Lowland) and 1.0 TgCH4/yr (Hudson Bay Lowlands). Everywhere the gain is in the aerenchyma flux from non-inundated soil, which roughly doubles (96–152%), while CH4 production does not change.
Key figures
Could this change the simulated climate?Share of land where the change is both significant and larger than a threshold, worst of the annual mean and four seasons (quicktest value in brackets): LAI (≥0.100 m2/m2): 0.0% [quicktest 0.1%]; ET (latent heat) (≥1.00 W/m2): 0.1% (JJA) [quicktest 0.1%]; Sensible heat (≥1.00 W/m2): 0.0% [quicktest 0.1%]; Albedo (≥0.0100 -): 0.0% [quicktest 0.0%]; Net radiation (≥1.00 W/m2): 0.0% [quicktest 0.0%]; Soil moisture (top 10 cm) (≥5%): 0.1% [quicktest 0.0%]; Runoff (≥10%): 0.1% [quicktest 0.0%]. ≥ 5% of land in any column is flagged likely climate-changing, 1–5% regional. The thresholds are judgement calls; these are land-only runs. SetupEach case is a cold-start spin-up with its fix in place: Analysis scripts: |
Implications (CH4-001, CH4-002)Short summary of what the full cold-start spin-up (AD → SASU → pSASU, f19 BGC-Crop, 1850) means for this fix. CH4-001 (SiteOxAere compounds unsat_aere_ratio across layers (poros_tiller mutated inside level loop)): No climate signal; CH4 emissions change. Tested together with CH4-002 (#4351). Aerenchyma CH4 from non-inundated soils more than doubles (20 → 44 TgCH4/yr), and net CH4 emission rises 10% (181 → 200 TgCH4/yr), 45% of the increase in the Amazon. CH4 production is unchanged, and the land energy and water budgets are unaffected. The CH4 team should decide whether unsat_aere_ratio or scale_factor_aere need retuning before merge. CH4-002 (grnd_ch4_cond_col overwritten in sat=0 ch4_tran call, so snow/pond resistance is double-counted in sat=1 call): No climate signal; CH4 emissions change. Tested together with CH4-001 (#4351); the spin-ups cannot separate the two. Combined, net CH4 emission rises 10% (181 → 200 TgCH4/yr), almost all of it from the aerenchyma flux from non-inundated soils. No effect on the land energy or water budget. Decide on CH4 retuning together with CH4-001. Details: full pSASU results above Prepared with AI assistance (Claude) from the pSASU analysis in |
Historical simulation results (CH4-001, CH4-002)Follow-up to the pSASU results above. Will continued both spin-ups into transient historical runs, 1850–2023 ( Overall: same behaviour as in pSASU. No climate signal. Found: net CH4 emission rises +26.2 TgCH4/yr (+10.6%) over 2004–2023 (246 → 272 TgCH4/yr; p < 0.001), against +18.6 (+10.3%) in pSASU. The relative increase stays at about 10–11% throughout the record. The absolute increase grows as baseline emissions rise, from about +19 TgCH4/yr in the 1850s to +26 in 2004–2023. The spatial pattern matches pSASU (pattern r = 0.90), with significant changes over 24% of land. CH4 production is unchanged (+0.05%), so the extra emission is still the aerenchyma pathway from non-inundated soil. Ecosystem C is +1.9 PgC higher, the same offset as in pSASU and within the spin-up noise floor.
By season (2004–2023): the increase is largest in MAM (+40 TgCH4/yr, +20%) and JJA (+38, +9%). SON is the only season where the response is clearly stronger than in pSASU: +14.9 (+6.0%) against +7.9 (+4.6%), 1.8× the pSASU change. The other seasons scale with baseline emissions (1.2–1.5×).
Implication: the historical run confirms the pSASU conclusion. The fix changes CH4 emissions by about 10% and nothing else. Because baseline emissions rise over the historical period, the absolute effect is about 40% larger by the present day (+26 vs +19 TgCH4/yr). Any retuning of Setup
Analysis scripts: |
|
Given large changes in unsaturated aerenchyma fluxes I've started two new runs branching from 1983 of the f19_HIST case with modifications to the
Will post results from this retuning activity when runs complete and suggest changes to the parameter file for this PR. |
|
Setting
This was determined with a series of historical runs from pSASU initial conditions in the original sweep of bug-fix simulations. Should this parameter change come in on this PR, or wait for a larger bug calibration PR after @linniahawkins's results are in? Marking as ready for review and submitting suggested tests, above. |







Description of changes
This PR fixes two independent bugs in the methane model (
src/biogeochem/ch4Mod.F90), each filed as its own issue. Each fix is a separate commit, so they can be reviewed or reverted on their own.1. Unsaturated tiller-porosity reduction compounds with depth (#4349, commit 066cc39).
SiteOxAerereassigned itsporos_tillerdummy argument inside the soil-layer loop. In thesat = 0pass, theunsat_aere_ratio(0.01) reduction was therefore applied again in each unfrozen layer below the water table, so tiller porosity reached theporosminfloor (1e-6) by layer jwt+3. Changes:poros_tilleris nowintent(in).poros_tiller_eff, in each layer, so each layer gets the same reduced porosity.This restores the behavior from before ctsm5.1.dev041, when the FATES–CH4 refactor moved the initial assignment out of the level loop. The issue has the history.
2. Snow and pond resistance double-counted in the saturated pass (#4350, commit 9ca921f).
ch4_tranoverwrotegrnd_ch4_condwith the snow- and pond-inclusive conductance at the end of thesat = 0call. Thesat = 1call then started from that value and added the resistances again. The history write-back now happens only whensat == 1, the last call of the timestep. Lakes also callch4_tranwithsat = 1and reset their own conductance inLakeTemperatureMod, so they are unchanged.WTGQstill reports the snow- and pond-inclusive conductance, now with each resistance counted once.Only
src/biogeochem/ch4Mod.F90changes.Status: draft. The code has not been compiled or run yet.
Specific notes
Contributors other than yourself, if any:
CTSM issues resolved or otherwise addressed, if any:
If answers are expected to change, describe (delete this line otherwise):
use_lch4 = .true.(the default for BGC, BGC-Crop and FATES).CH4_SURF_AERE_UNSAT,FCH4, O2 stress and related fields). This can be a large change.WTGQchanges under snow.Any user interface changes (namelist or namelist defaults changes)?
Testing planned or performed, if any:
ERP_D_Ld9.f10_f10_mt233.IHistClm60BgcCrop.derecho_intel.clm-clm60cam7LndTuningModeLDust--clm-nnStreamMapAlgo(expect baseline diffs in methane fields)ERS_D_Ld5.f10_f10_mg37.I2000Clm50Fates.derecho_intel.clm-FatesCold(FATES path throughSiteOxAere)ERP_D_Ld10_P64x2.f10_f10_mg37.IHistClm60BgcCrop.derecho_intel.clm-ciso_decStart(December start, so there is snow): restarts bit-for-bit,WTGQandCH4_SURF_*_SATchange only under snow or pondingarea_tillerin thesat = 0pass is the same in every layer belowjwt(for equal NPP terms)use_lch4Questions for reviewers
unsat_aere_ratioandscale_factor_aeremay have been tuned since ctsm5.1.dev041 with the bug present. Should they be revisited as part of this change, or separately?sat == 1guard is the minimal fix. A cleaner option is a separate diagnostic array forWTGQ, so thatch4_trannever modifies its input conductance. Which would you prefer?